export const fileType = ['mp4', 'flv', 'ts', 'mkv', 'avi', 'wmv']
export const outFileType = ['mp4', 'flv', 'ts', 'mkv', 'avi', 'wmv', 'mp3']

export const exportPlace = ['当前文件夹', '自定义文件夹']

/**
 * 打开本地文件
 * @param path
 */
export function openPath(path) {
  window.shell.openPath(path)
}
export function openUrl(path: string) {
  window.shell.openExternal(path)
}

export interface outPutDto {
  type: string
  output: string
}
export interface OutputPath {
  type: string
  output: string
}
export interface fileListDto {
  outpath: string
  name: string
  path: string
  id: string
  status: number
  filetype: string
}
